FROM node:18

WORKDIR ./

COPY package*.json ./
RUN npm install

COPY . .

# 设置容器名称
LABEL maintainer="ibai-tools-app"
LABEL description="前端服务"
LABEL version="3.1.1"

CMD ["npm", "run", "serve"]
